Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 20, 2025

Bumps time-machine from 2.15.0 to 2.19.0.

Changelog

Sourced from time-machine's changelog.

2.19.0 (2025-08-19)

  • Add marker support to :doc:the pytest plugin <pytest_plugin>. Decorate tests with @pytest.mark.time_machine(<destination>) to set time during a test, affecting function-level fixtures as well.

    Thanks to Javier Buzzi in PR [#499](https://github.com/adamchainz/time-machine/issues/499) <https://github.com/adamchainz/time-machine/pull/499>__.

  • Add asynchronous context manager support to time_machine.travel(). You can now use async with time_machine.travel(...): in asynchronous code, per :ref:the documentation <travel-context-manager>.

    PR [#556](https://github.com/adamchainz/time-machine/issues/556) <https://github.com/adamchainz/time-machine/issues/556>__.

  • Import date and time functions once in the C extension.

    This should improve speed a little bit, and avoid segmentation faults when the functions have been swapped out, such as when freezegun is in effect. (time-machine still won’t apply if freezegun is in effect.)

    PR [#555](https://github.com/adamchainz/time-machine/issues/555) <https://github.com/adamchainz/time-machine/issues/555>__.

2.18.0 (2025-08-18)

  • Update the :ref:migration CLI <migration-cli> to detect unittest classes based on whether they use self.assert* methods like self.assertEqual().

  • Fix free-threaded Python warning: RuntimeWarning: The global interpreter lock (GIL) has been enabled... as seen on Python 3.13+.

    Thanks to Javier Buzzi in PR [#531](https://github.com/adamchainz/time-machine/issues/531) <https://github.com/adamchainz/time-machine/pull/531>__.

  • Add support to travel() for datetime destinations with tzinfo set to datetime.UTC (datetime.timezone.utc).

    Thanks to Lawrence Law in PR [#502](https://github.com/adamchainz/time-machine/issues/502) <https://github.com/adamchainz/time-machine/pull/502>__.

  • Prevent segmentation faults in unlikely scenarios, such as if the time_machine module cannot be imported.

    PR [#543](https://github.com/adamchainz/time-machine/issues/543) <https://github.com/adamchainz/time-machine/pull/543>, PR [#545](https://github.com/adamchainz/time-machine/issues/545) <https://github.com/adamchainz/time-machine/pull/545>.

  • Make travel() fully unpatch date and time functions when travel ends. This may fix certain edge cases.

    Issue [#532](https://github.com/adamchainz/time-machine/issues/532) <https://github.com/adamchainz/time-machine/issues/532>__.

2.17.0 (2025-08-05)

  • Include wheels for Python 3.14.

    Thanks to Edgar Ramírez Mondragón in PR [#521](https://github.com/adamchainz/time-machine/issues/521) <https://github.com/adamchainz/time-machine/pull/521>__.

  • Support free-threaded Python.

... (truncated)

Commits

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
time-machine [>= 2.16.dev0, < 2.17]

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 20, 2025
@dependabot dependabot bot requested a review from a team as a code owner August 20, 2025 08:59
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 20, 2025
@github-actions github-actions bot enabled auto-merge August 20, 2025 08:59
Bumps [time-machine](https://github.com/adamchainz/time-machine) from 2.15.0 to 2.19.0.
- [Changelog](https://github.com/adamchainz/time-machine/blob/main/docs/changelog.rst)
- [Commits](adamchainz/time-machine@2.15.0...2.19.0)

---
updated-dependencies:
- dependency-name: time-machine
  dependency-version: 2.19.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/time-machine-2.19.0 branch from 01788b6 to 56791be Compare August 20, 2025 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants